<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <form>
        爱好:
        <select style="width: 200px;" multiple>
            <optgroup label="亚洲"></optgroup>
            <option>女</option>
            <option selected>男</option>
        </select>

        <input type="text" list="country"/>
        <datalist id="country">
            <optgroup label="亚洲"></optgroup>
            <option>中国</option>
            <option>日本</option>
            <option>新加坡</option>
            <option>缅甸</option>
        </datalist>
    </form>
</body>
</html>